#pragma once
#include "ServerPlayer.h"

class CWorldPlayer : public CServerPlayer
{
public:
	CWorldPlayer(void);
	~CWorldPlayer(void);

	virtual BOOL OnInitialUpdate(const char *szServerIP, int nPort, int nOrigin, int nServerId);
	virtual Msg* CreateMsg(DWORD dwMsgId, int nLen);
	virtual BOOL OnMsg(Msg *pMsg);
};

extern CWorldPlayer *g_pWorldPlayer;